<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../Public/css/basic.css" />
<link type="text/css" rel="stylesheet" href="../Public/css/manage.css" />
<script type="text/javascript" src="__ROOT__/Public/Jquery/jquery.js"></script>
<script type="text/javascript" src="../Public/js/pressNav.js"></script>
<title></title>
</head>
<body id="main">
    <h2>信息导航设置 -- 导航列表<empty name="Think.get.pid"><a href="__URL__/add"><span class="add">+</span>添加父类导航</a></empty></h2>
    <div id="search">{$searchform}</div>
    <form method="post" action="__URL__/mulDelete" class="index">
        <table>
            <tr><th>选择</th><th>导航名称</th><th>导航描述</th><th>子类操作</th><th>排序</th><th>激活</th><th>操作</th></tr>
            <volist name="allinfonav" id="value" empty="$empty">
                <tr><td><input type="checkbox" name="select[]" value="{$value.id}"/></td><td>{$value.name}</td><td>{$value.info|mb_substr=0,20,'utf-8'}</td><empty name="Think.get.pid"><td><a href="__URL__/index/pid/{$value.id}">查看</a>|<a href="__URL__/add/pid/{$value.id}">增加</a></td><else /><td style="color:red;">暂允许二级导航</td></empty><td><input type="text" name="sort[]" class="small" value="{$value.sort}"/></td>
                <if condition="$value['is_active'] eq 1">
                    <td><img src="../Public/images/yes.png"></td>
                <else />
                    <td><img src="../Public/images/no.png"></td>
                </if>
                <td><a href="__URL__/update/id/{$value.id}"><img src="../Public/images/edit2.gif" title="修改"/></a>　<a href="__URL__/delete/id/{$value.id}"><img src="../Public/images/drop.gif" title="删除" onclick="javascript:return confirm('确认删除?') ? true : false;"/></a></td></tr>
                <input type="hidden" name="sid[]" value="{$value.id}" />
            </volist>
            <notempty name="Think.get.pid"><tr><td colspan="7">当前父导航：<span style="color:#f60;">{$pinfonav}</span>　<a href="../../add/pid/{$Think.get.pid}">[继续添加本类导航]</a> | <a href="../../">[返回父类导航列表]</a></td></tr></notempty>
            
            <tr><td colspan="7" style="color:red;">注意：排序文本框中，数值越小越靠前   <input type="submit" id="sort" value="一键排序" style="position:relative;left:95px;" /></td></tr>
            <tr><td colspan="7" style="padding-right:900px;" ><input type="button" value="全选" id="all"/><input type="button" value="反选" id="cancel"/>　<input type="submit" value="批量删除" onclick="javascript:return confirm('确认删除?') ? true : false;"/></td></tr>
        </table>
    </form>
    <div id="page">
        {$page}
    </div>
</body>
</html>